<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
	</head>
	<body>
		<div id="app">
			{{message}}<br />
			{{index+1}}<br />
			{{isMarried?"已婚":"未婚"}}<br />
			{{scores[0]}}<br />
			{{student.name}}{{student.age}}<br />
			{{stus[2].name}}{{stus[2].age}}<br />
		</div>
		
		<script>
			var app = Vue.createApp(
			{
				//设置模型数据
				data(){
					return{
						message:"hello vue!",
					
					stus:{
						{name:'一号',age:13}
						{name:'二号',age:14}
						{name:'三号',age:15}
					},
					scores:{12,31,124,124,145},//数组
					isMarried:true,
					index:0,
				}
				}
			});
			
			
			
			
			var vm = app.mount("#app")
		</script>
	</body>
</html>